![]() |
GetDefaultOutputVolume |
||||
Header: | Sound.h | Carbon status: | Supported | |
Determines the default volume of a sound output device.
OSErr GetDefaultOutputVolume ( SInt32 *level );
On return, a pointer to the default volume level of a sound output device. The values returned in the high and low words of the level parameter range from 0 (silence) to $0100 (full volume).
A result code.
You can call this function at interrupt time.
The GetDefaultOutputVolume function is available only in versions 3.0 and later of the Sound Manager.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)